/*
 * table_CcObjectMapOfType_t.h
 *
 *  Created on: 2012/05/17
 *      Author: guanxiaoying
 */

#ifndef TABLE_CCOBJECTMAPOFTYPE_T_H_
#define TABLE_CCOBJECTMAPOFTYPE_T_H_

typedef struct __CCOBJECTMAPOFTYPEACCESS{
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	AST  (*getMax)( VOID );
	ACCESS_BOOL_FIELD bAdjustable;	/* struct, union, array, other */
	ACCESS_U4_FIELD   size;
	ACCESS_U4_FIELD   idx;
	ACCESS_IDX_FIELD  NextObj;
	ACCESS_IDX_FIELD  sameObj; /* for union */
	ACCESS_IDX_FIELD  type;
	ACCESS_IDX_FIELD  sym;
	ACCESS_IDX_FIELD  child;
	ACCESS_IDX_FIELD  parent;
}CCOBJECTMAPOFTYPEACCESS;
extern const CCOBJECTMAPOFTYPEACCESS stObjectMapOfTypeAccess;

#endif /* TABLE_CCOBJECTMAPOFTYPE_T_H_ */
